Optimal. Leaf size=154 \[ \frac {2 \left (a^2-b^2\right )^2 (a+b \sin (c+d x))^{7/2}}{7 b^5 d}-\frac {8 a \left (a^2-b^2\right ) (a+b \sin (c+d x))^{9/2}}{9 b^5 d}+\frac {4 \left (3 a^2-b^2\right ) (a+b \sin (c+d x))^{11/2}}{11 b^5 d}-\frac {8 a (a+b \sin (c+d x))^{13/2}}{13 b^5 d}+\frac {2 (a+b \sin (c+d x))^{15/2}}{15 b^5 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 154, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {2747, 711}
\begin {gather*} \frac {4 \left (3 a^2-b^2\right ) (a+b \sin (c+d x))^{11/2}}{11 b^5 d}-\frac {8 a \left (a^2-b^2\right ) (a+b \sin (c+d x))^{9/2}}{9 b^5 d}+\frac {2 \left (a^2-b^2\right )^2 (a+b \sin (c+d x))^{7/2}}{7 b^5 d}+\frac {2 (a+b \sin (c+d x))^{15/2}}{15 b^5 d}-\frac {8 a (a+b \sin (c+d x))^{13/2}}{13 b^5 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 711
Rule 2747
Rubi steps
\begin {align*} \int \cos ^5(c+d x) (a+b \sin (c+d x))^{5/2} \, dx &=\frac {\text {Subst}\left (\int (a+x)^{5/2} \left (b^2-x^2\right )^2 \, dx,x,b \sin (c+d x)\right )}{b^5 d}\\ &=\frac {\text {Subst}\left (\int \left (\left (a^2-b^2\right )^2 (a+x)^{5/2}-4 \left (a^3-a b^2\right ) (a+x)^{7/2}+2 \left (3 a^2-b^2\right ) (a+x)^{9/2}-4 a (a+x)^{11/2}+(a+x)^{13/2}\right ) \, dx,x,b \sin (c+d x)\right )}{b^5 d}\\ &=\frac {2 \left (a^2-b^2\right )^2 (a+b \sin (c+d x))^{7/2}}{7 b^5 d}-\frac {8 a \left (a^2-b^2\right ) (a+b \sin (c+d x))^{9/2}}{9 b^5 d}+\frac {4 \left (3 a^2-b^2\right ) (a+b \sin (c+d x))^{11/2}}{11 b^5 d}-\frac {8 a (a+b \sin (c+d x))^{13/2}}{13 b^5 d}+\frac {2 (a+b \sin (c+d x))^{15/2}}{15 b^5 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.39, size = 279, normalized size = 1.81 \begin {gather*} \frac {4 a^2 \left (2048 a^6-16256 a^4 b^2+100050 a^2 b^4+64665 b^6\right ) \sqrt {1+\frac {b \sin (c+d x)}{a}} \left (-1+\sqrt {1+\frac {b \sin (c+d x)}{a}}\right )-b (a+b \sin (c+d x)) \left (2 a b \left (768 a^4-5680 a^2 b^2+81415 b^4\right ) \cos (2 (c+d x))-28 a b^3 \left (10 a^2-2911 b^2\right ) \cos (4 (c+d x))+14322 a b^5 \cos (6 (c+d x))+\left (4096 a^6-31360 a^4 b^2-709320 a^2 b^4-86385 b^6\right ) \sin (c+d x)+b^2 \left (-640 a^4-145580 a^2 b^2+2223 b^4\right ) \sin (3 (c+d x))+21 b^4 \left (-852 a^2+559 b^2\right ) \sin (5 (c+d x))+3003 b^6 \sin (7 (c+d x))\right )}{1441440 b^5 d \sqrt {a+b \sin (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.93, size = 126, normalized size = 0.82
method | result | size |
default | \(\frac {2 \left (a +b \sin \left (d x +c \right )\right )^{\frac {7}{2}} \left (3003 b^{4} \left (\cos ^{4}\left (d x +c \right )\right )+1848 a \,b^{3} \left (\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right )-1008 a^{2} b^{2} \left (\cos ^{2}\left (d x +c \right )\right )+2184 b^{4} \left (\cos ^{2}\left (d x +c \right )\right )-448 a^{3} b \sin \left (d x +c \right )+1792 a \,b^{3} \sin \left (d x +c \right )+128 a^{4}-32 a^{2} b^{2}+1248 b^{4}\right )}{45045 b^{5} d}\) | \(126\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 116, normalized size = 0.75 \begin {gather*} \frac {2 \, {\left (3003 \, {\left (b \sin \left (d x + c\right ) + a\right )}^{\frac {15}{2}} - 13860 \, {\left (b \sin \left (d x + c\right ) + a\right )}^{\frac {13}{2}} a + 8190 \, {\left (3 \, a^{2} - b^{2}\right )} {\left (b \sin \left (d x + c\right ) + a\right )}^{\frac {11}{2}} - 20020 \, {\left (a^{3} - a b^{2}\right )} {\left (b \sin \left (d x + c\right ) + a\right )}^{\frac {9}{2}} + 6435 \, {\left (a^{4} - 2 \, a^{2} b^{2} + b^{4}\right )} {\left (b \sin \left (d x + c\right ) + a\right )}^{\frac {7}{2}}\right )}}{45045 \, b^{5} d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.41, size = 224, normalized size = 1.45 \begin {gather*} -\frac {2 \, {\left (7161 \, a b^{6} \cos \left (d x + c\right )^{6} - 128 \, a^{7} + 992 \, a^{5} b^{2} - 6080 \, a^{3} b^{4} - 5536 \, a b^{6} - 7 \, {\left (5 \, a^{3} b^{4} + 79 \, a b^{6}\right )} \cos \left (d x + c\right )^{4} + 16 \, {\left (3 \, a^{5} b^{2} - 20 \, a^{3} b^{4} - 67 \, a b^{6}\right )} \cos \left (d x + c\right )^{2} + {\left (3003 \, b^{7} \cos \left (d x + c\right )^{6} + 64 \, a^{6} b - 480 \, a^{4} b^{3} - 9088 \, a^{2} b^{5} - 1248 \, b^{7} - 63 \, {\left (71 \, a^{2} b^{5} + 13 \, b^{7}\right )} \cos \left (d x + c\right )^{4} - 8 \, {\left (5 \, a^{4} b^{3} + 718 \, a^{2} b^{5} + 117 \, b^{7}\right )} \cos \left (d x + c\right )^{2}\right )} \sin \left (d x + c\right )\right )} \sqrt {b \sin \left (d x + c\right ) + a}}{45045 \, b^{5} d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\cos \left (c+d\,x\right )}^5\,{\left (a+b\,\sin \left (c+d\,x\right )\right )}^{5/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________